<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录页面</title>
</head>
<body>
<h2>登录页面</h2>
<form th:action="@{/doLogin}" method="post">
    <div>
        <label>用户名：</label>
        <input type="text" name="username" required />
    </div>
    <div>
        <label>密码：</label>
        <input type="password" name="password" required />
    </div>
    <div>
        <button type="submit">登录</button>
    </div>
</form>
</body>
</html>
